package e

const (
	SUCCESS = 1
	ERROR   = 0
)

var ErrorMessages = map[int]string{
	SUCCESS: "ok",
	ERROR:   "error",
}

func GetMsg(code int) string {
	return ErrorMessages[code]
}
